package com.lyc.pojo;

//商品详情表
public class GoodsInfo {
    private int giid;  //商品详情编号
    private int gid;   //商品编号
    private String gipic1;//商品详情照片1
    private String gipic2;//商品详情照片2
    private String gipic3;//商品详情照片3
    private Goods goods;

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public GoodsInfo() {
    }

    public GoodsInfo(int giid, int gid, String gipic1, String gipic2, String gipic3, Goods goods) {
        this.giid = giid;
        this.gid = gid;
        this.gipic1 = gipic1;
        this.gipic2 = gipic2;
        this.gipic3 = gipic3;
        this.goods = goods;
    }

    public int getGiid() {
        return giid;
    }

    public void setGiid(int giid) {
        this.giid = giid;
    }

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGipic1() {
        return gipic1;
    }

    public void setGipic1(String gipic1) {
        this.gipic1 = gipic1;
    }

    public String getGipic2() {
        return gipic2;
    }

    public void setGipic2(String gipic2) {
        this.gipic2 = gipic2;
    }

    public String getGipic3() {
        return gipic3;
    }

    public void setGipic3(String gipic3) {
        this.gipic3 = gipic3;
    }

    @Override
    public String toString() {
        return "GoodsInfo{" +
                "giid=" + giid +
                ", gid=" + gid +
                ", gipic1='" + gipic1 + '\'' +
                ", gipic2='" + gipic2 + '\'' +
                ", gipic3='" + gipic3 + '\'' +
                ", goods=" + goods +
                '}';
    }
}
